package com.dubbo.cp.logcenter.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dubbo.cp.logcenter.entity.LogEntity;


@Mapper
public interface LogMapper extends BaseMapper<LogEntity>{
	
	@Insert("Insert Into log (username,log_text) Values (#{username},#{logText})")
	int addlog(@Param("username")String username,@Param("logText")String logText);
	
	
}
